<!DOCTYPE html>
<html lang="en">
<head>
    <title>{{.title}}</title>
    {{template "pc/public/mycss.html" .}}
    <link rel="stylesheet" href="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/pc/css/index.min.css?v=123" />
    <style type="text/css">
    	body.search {
    		background-color: #f5f5f5;
    	}
    	.content-wrapper {
    		width: 1000px;
    		margin: 50px auto;
    	}
    	.block-wrap {
    		margin: 0 0 10px;
    	}
    	.block-title {
    		position: relative;
    		height: 80px;
    		margin-bottom: 18px;
    		line-height: 80px;
    		text-align: center;
    	}
    	.block-title .hr {
    		position: absolute;
    		top: 0;
    		bottom: 0;
    		left: 0;
    		right: 0;
    		width: 320px;
    		height: 1px;
    		margin: auto;
    		background-color: #000;
    		z-index: -1;
    	}
    	.block-title .h {
    		font-size: 24px;
    		font-weight: bold;
    		color: #000;
    		background-color: #f5f5f5;
    		padding: 0 18px;
    	}
    	.product-wrap {
    		margin-right: -10px;
    		*zoom: 1;
    	}
    	.product-wrap:after {
    		display: block;
    		content: "\20";
    		clear: both;
    		height: 0;
    	}
    	.product-cell {
    		float: left;
    		width: 242.5px;
    		margin-right: 10px;
    		margin-bottom: 10px;
    		background-color: white;
    		box-sizing: border-box;
    		border: 1px solid #eee;
    	}
    	.product-cell:hover {
    		box-shadow: 0 0 6px #ddd;
    	}
    	.product-pic {
    		overflow: hidden;
 			height: 240px;
    	}
    	.product-pic img {
    		position: relative;
    		top: 50%;
    		transform: translateY(-50%);
    		width: 100%;
    	}
    	.product-info {
    		padding: 8px 14px 10px;
    		margin-top: 8px;
    		border-top: 1px solid #eee;
    		word-break: break-all;
    	}
    	.product-price {
    		color: #fc353a;
    	}
    	.product-price span {
    		font-size: 22px;
    		font-weight: bold;
    	}
    	.product-intr {
    		height: 36px;
    		overflow: hidden;
    		text-overflow: ellipsis;
    		display: -webkit-box;
    		-webkit-box-orient: vertical;
    		-webkit-line-clamp: 2;
    		margin: 8px 0 0 0;
    		line-height: 1.5em;
    		text-indent: 2em;
    		letter-spacing: .06em;
    		color: #666;
    	}
    </style>
</head>
<body class="search">
	<div id="wrapper" class="wrapper-full banners-effect-7">
	    <!-- Header Container  -->
	  {{template "pc/public/head.html" .}}
	  {{template "pc/public/search.html" .}}
	</div>
	<div class="content-wrapper">
		{{ range $i,$v := .column }}
        {{ if $v }}
		<div class="block-wrap">
			<div class="block-title">
				<div class="hr"></div>
				<span class="h">{{ .name }}</span>
			</div>
			<div class="product-wrap">
				{{ range .product }}
				<div class="product-cell">
					<a href="/product/content?id={{ .id }}">
						<div class="product-pic">
							<img src="{{ .pathname }}">
						</div>
						<div class="product-info">
							<p class="product-price">
								¥<span>{{ .price }}</span>/个
							</p>
							<p class="product-intr">{{ .title }}</p>
						</div>
					</a>
				</div>
				{{ end }}
			</div>
		</div>
        {{ end }}
		{{ end }}
	</div>
</body>
</html>